package com.shaobufan.museum.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shaobufan.museum.pojo.entity.UserExhibitMoment;
import com.shaobufan.museum.pojo.vo.MuseumExhibitVo;
import com.shaobufan.museum.pojo.vo.UserExhibitMomentVo;

import java.util.List;

/**
* @author 17126
* @description 针对表【user_exhibit_moment(用户-展览-时刻 中间表)】的数据库操作Service
* @createDate 2024-04-07 11:09:02
*/
public interface UserExhibitMomentService extends IService<UserExhibitMoment> {

    /**
     * 添加用户参展日程
     * @param userId 用户id
     * @param exId 展览id
     * @param moId 时刻id
     * @return Boolean
     */
    Boolean addUserExhibitMoment(Integer userId, Integer exId, Integer moId);

    /**
     * 通过用户 id获取参展日程
     *
     * @param userId 用户 id
     * @return List<UserExhibitMomentVo>
     */
    List<UserExhibitMomentVo> searchUserExhibitMoment(Integer userId);

    List<MuseumExhibitVo> searchUserExhibitByUserid(Integer userId);
}